﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CountByDay.aspx.cs" Inherits="Business_Cisoft3G_CountByDay" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/font.css" rel="stylesheet" type="text/css" />
    <asp:Literal ID="ltScript" runat="server"></asp:Literal>
    <style type="text/css">
        #imgEndDate
        {
            width: 16px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="position_list">
        <div class="position_left_list">
        </div>
        <div class="position_con_list">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="30">
                        <img src="../../Images/3G/icon21.gif" width="14" height="14" alt="" />
                    </td>
                    <td class="cyan12">
                        统计图表
                    </td>
                </tr>
            </table>
        </div>
        <div class="position_right_list">
        </div>
    </div>
    <div class="search_list">
        <div class="search_top_list">
            <div class="search_topleft_list">
            </div>
            <!--  查询     -->
            <div class="search_topbg_list">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="30" align="left" valign="middle" style="padding-top: 4px;">
                            <img src="../../Images/3G/icon_logo.gif" width="22" height="22" />
                        </td>
                        <td width="100" class="cyan13_bold" style="padding-top: 5px;">
                            系统温馨提示栏
                        </td>
                        <td style="padding-top: 5px;">
                            <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="请输入开始日期！" ControlToValidate="txtStartDate" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RequiredFieldValidator ID="rfv2" runat="server" ErrorMessage="请输入结束日期！" ControlToValidate="txtEndDate" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="开始日期格式错误!正确的日期格式为 YYYY-MM-DD"
                                Display="Dynamic" ControlToValidate="txtStartDate" ValidationExpression="^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s(((0?[1-9])|(1[0-2]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$">
                            </asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="结束日期格式错误!正确的日期格式为 YYYY-MM-DD"
                                Display="Dynamic" ControlToValidate="txtEndDate" ValidationExpression="^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s(((0?[1-9])|(1[0-2]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$">
                            </asp:RegularExpressionValidator>
                            
                            
                        </td>
                    </tr>
                </table>
            </div>
            <div class="search_topright_list">
            </div>
        </div>
        <div class="index_search_con_list">
            <table border="0" cellpadding="0" cellspacing="0" style="padding-left: 10px">
                <tr>
                    <td>
                        <span style="color:White;">开始时间：</span>
                        <asp:TextBox ID="txtStartDate" runat="server" Width="89px" style="border:1px solid #ffffff;" 
                            onfocus="WdatePicker()"></asp:TextBox>
                        <img src="~/Images/Calendar_scheduleHS.png" alt="点击选择开始日期" id="imgStartDate" runat="server" onclick="WdatePicker({el:'txtStartDate'})"/>
                        <span style="color:White;">结束时间：</span>
                        <asp:TextBox ID="txtEndDate" runat="server" Width="89px" style="border:1px solid #ffffff;"
                            onfocus="WdatePicker()"></asp:TextBox>
                        <img src="~/Images/Calendar_scheduleHS.png" alt="点击选择结束日期" id="imgEndDate" runat="server" onclick="WdatePicker({el:'txtEndDate'})"/>
                        <asp:RadioButton ID="rbtnQxt" runat="server" GroupName="rg" Checked="true" Text="曲线图" />
                        <asp:RadioButton ID="rbtnZzt" runat="server" GroupName="rg" Text="柱状图" />
                        <asp:Button ID="btnSearch" runat="server" ToolTip="查询" OnClick="btnQuery_Click" />
                        <fieldset title="图表选项" style="font-size: 12px; border: 1px solid #ffffff; padding-top:5px; ">
                            <legend>图表选项：请在要显示项目前的复选框中打勾</legend>
                            &nbsp;
                            <asp:CheckBox ID="cbInbox" runat="server" Text="短信接收" Checked="true"/>
                            <asp:CheckBox ID="cbSent" runat="server" Text="发件箱" Checked="true"/>
                            <asp:CheckBox ID="cbOutbox" runat="server" Text="待发箱" Checked="true"/>
                            <asp:CheckBox ID="cbDraft" runat="server" Text="草稿箱" />
                            <br />&nbsp;
                            <asp:CheckBox ID="CheckBox1" runat="server" Text="普通"/>
                            <asp:CheckBox ID="CheckBox2" runat="server" Text="通知公告" />
                            <asp:CheckBox ID="CheckBox3" runat="server" Text="投票调查" />
                            <asp:CheckBox ID="CheckBox4" runat="server" Text="短信抽奖" />
                            <asp:CheckBox ID="CheckBox5" runat="server" Text="回馈留言" />
                            <asp:CheckBox ID="CheckBox6" runat="server" Text="投诉建议" />
                            <asp:CheckBox ID="CheckBox7" runat="server" Text="日程提醒" />
                            <asp:CheckBox ID="CheckBox8" runat="server" Text="短信答题" />
                            <%--<asp:CheckBox ID="CheckBox9" runat="server" Text="答题" />--%>
                            &nbsp;
                        </fieldset>
                        <span style="height:3px;">&nbsp;</span>
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0"
                id="tableList">
                <tr>
                    <td colspan="2">
                        <asp:Chart ID="Chart1" runat="server" Height="310px" Width="795px">
                            <Legends>
                                <asp:Legend LegendStyle="Row" Name="收件箱" Docking="Bottom" Font="Microsoft Sans Serif, 9pt"
                                    IsTextAutoFit="False" MaximumAutoSize="60">
                                </asp:Legend>
                            </Legends>
                            <ChartAreas>
                                <asp:ChartArea Name="ChartArea1">
                                </asp:ChartArea>
                            </ChartAreas>
                        </asp:Chart>
                    </td>
                </tr>
            </table>
            <table width="818px" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="search_bottom_list">
        <div class="search_bottomleft_list">
        </div>
        <div class="search_bottombg_list">
        </div>
        <div class="search_bottomright_list">
        </div>
    </div>
    </form>
</body>
</html>
